﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class TestPage : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        CallService();
    }

    private void CallService()
    {
     /*   
<hashCode>2ffadca9-587a-4c06-afb1-026b143b11a5</hashCode>
<_scanData>
<QuestionId>0</QuestionId>
<QuestionResponse>a</QuestionResponse>
<serviceId>15</serviceId>
<StudentIdNumber>656446</StudentIdNumber>
<FirstName>a</FirstName>
<LastName>a</LastName>
<Grade>6</Grade>
<ValidityCode>104</ValidityCode>
<Note1>q</Note1>
<Note2>q</Note2>
<Note3>q</Note3>
<Note4>q</Note4>
<ResponseValue>r</ResponseValue>
<DeviceId>d</DeviceId>
<DeviceName>d</DeviceName>
<ScanStatusMessage>s</ScanStatusMessage>
<CreateDate>cd</CreateDate>
<ServiceName>Record Online Service 5</ServiceName>
<ServiceSubType>record</ServiceSubType>
<UserId>12</UserId>
<UserName>tannu</UserName>
</_scanData>
</ScanDataOnline>
</soap:Body>
</soap:Envelope>
    */
        //ProxyWrapper.ServiceReference1.ServicesSoapClient _clint = new ProxyWrapper.ServiceReference1.ServicesSoapClient();
        //ProxyWrapper.ServiceReference1.Scans _scans = new ProxyWrapper.ServiceReference1.Scans();
        //_scans.ScanId = 15;
        //_scans.CreateDate = "cd";
        //_scans.ServiceName = "Record Online Service 5";
        //_scans.ServiceSubType = "record";
        //_scans.UserId = 12;
        //_scans.UserName = "tannu";
        //_scans.DeviceId = "d";
        //_scans.DeviceName = "d";
        //_scans.FirstName = "a";
        //_scans.LastName = "a";
        //_scans.StudentIdNumber = 656446;
        //_scans.QuestionId = 0;
        //_scans.QuestionResponse = "a";
        //_scans.ServiceId = 15;
        //_scans.ValidityCode = 104;
        //_scans.ResponseValue = "r";
        //_scans.ScanStatusMessage = "s";
        //_scans.Grade =6;
        //_scans.Note1 = "q";
        //_scans.Note2 = "q";
        //_scans.Note3 = "q";
        //_scans.Note4 = "q";

        //bool response = _clint.ScanDataOnline(11, 12, "2ffadca9-587a-4c06-afb1-026b143b11a5", _scans);
    //    _scans = _clint.ValidateOnlineScans(39, 1, "049e72b8-7cfe-4a59-99ec-542735bd77be", 13, "11", "", "");
    //  if (_scans!=null)
    //       {
    //           Response.Write("Pass");
    //       }
    //{
		 
    //}
        
    }
}